package com.example.spring.demo.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.spring.demo.entity.SysUser;
import com.example.spring.demo.entity.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SysUserMapper extends BaseMapper<SysUser> {


    @Select("""
select * from sys_user where is_admin = 1;
""")
    List<SysUser> getUserAdmin();
}
